package org.lsc.summerentity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "USER")
public class User {

    @Id
    @Column(name = "ID")
    private String userId;
    @Column(name = "NAME")
    private String username;
    @Column(name = "PASSWORD")
    private String password;
    @Column(name = "REAL_NAME")
    private String realName;
    @Column(name = "SEX")
    private String sex;
    @Column(name = "TEL")
    private String telePhone;

}